import request from "@/utils/request";

/** *
 * 登陆接口封装
 * **/
export function login(data) {
  // 返回一个promise对象
  return request({
    url: "/sys/login",
    method: "post",
    data
  });
}

export function getInfo(token) {}

export function logout() {}
